﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PMS.ENT
{
    public class ProjectENT
    {
        public static string _Table = "Projects";

        public int ProjectID { get; set; }
        public string ProjectName { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int OwnerID { get; set; }
        public int SubjectID { get; set; }
        public int NumberOfGroup { get; set; }
        public int AttemptGroup { get; set; }
        public string Status { get; set; }
        public string Description { get; set; }
        public int MaxmemOfGroup { get; set; }
        public int CreatedBy { get; set; }
        public int UpdateBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime UpdateDate { get; set; }
        public int Isdeleted { get; set; }

        public string SubjectName { get; set; }
        public string Owner { get; set; }
        public int DepartmentID { get; set; }
        public int Schedule { get; set; }
        public int NGroup { get; set; }
        public int AGroup { get; set; }
        public ProjectENT()
        {

        }
    }

    public enum ProjectColumns
    {
        ProjectID,
        ProjectName,
        StartDate,
        EndDate,
        OwnerID,
        SubjectID,
        NumberOfGroup,
        AttemptGroup,
        Status,
        Description,
        MaxmemOfGroup,
        CreatedBy,
        UpdateBy,
        CreatedDate,
        UpdateDate,
        Isdeleted,
        SubjectName,
        Owner,
        DepartmentID,
        Schedule,
        NGroup,
        AGroup
    }

    public class ProjectCollection : List<ProjectENT>
    {
        public ProjectCollection()
            : base()
        { }

        public ProjectCollection(IEnumerable<ProjectENT> collection)
            : base(collection)
        { }
    }

    public class StudentProjectENT
    {
        public int ScheduleID { get; set; }
        public string ScheduleName { get; set; }
        public int ProjectID { get; set; }
        public string ProjectName { get; set; }
        public int TeacherID { get; set; }
        public string TeacherName { get; set; }
        public int GroupID { get; set; }
        public string GroupName { get; set; }
        public int StudentID { get; set; }
        public string StudentName { get; set; }

        public decimal Mark { get; set; }

        public StudentProjectENT()
        { }
    }

    public enum StudentProjectColumns
    {
        ScheduleID,
        ScheduleName,
        ProjectID,
        ProjectName,
        TeacherID,
        TeacherName,
        GroupID,
        GroupName,
        StudentID,
        StudentName,
        Mark

    }

    public class StudentProjectCollection : List<StudentProjectENT>
    {
        public StudentProjectCollection()
            : base()
        { }

        public StudentProjectCollection(IEnumerable<StudentProjectENT> collection)
            : base(collection)
        { }
    }
}
